package cn.asterly.cicada.service;

import cn.asterly.cicada.model.Types;
import cn.asterly.cicada.service.base.IBaseService;

import java.util.List;

public interface ITypesService<T> {
    boolean deleteByPrimaryKey(Integer id);

    boolean insert(T record);

    boolean insertSelective(T record);

    T selectByPrimaryKey(Integer id);

    boolean updateByPrimaryKeySelective(T record);

    boolean updateByPrimaryKey(T record);

    List<T> selAll();
}
